<?

/*
IF (!$_USER_ID || $_USER_ID!=0){
	  exit;
}
     */

switch ($p){

       //Facture
       CASE 'test_facture_aclient': REQUIRE("test/facture_a_client.php"); BREAK;
       CASE 'test_facture_aarticle': REQUIRE("test/facture_a_ajout.php"); BREAK;
        CASE 'test_facture_acadeau': REQUIRE("test/facture_c_ajout.php"); BREAK;
       CASE 'test_facture_ajout': REQUIRE("test/facture_ajout.php"); BREAK;
        CASE 'test_facture_ajoutc': REQUIRE("test/facture_ajout2.php"); BREAK;
       CASE 'test_facture_suprime': REQUIRE("test/facture/facture_supr.php"); BREAK;
       CASE 'facture_impression': REQUIRE("test/facture/fact_impress.php"); BREAK;

         //Divers
         CASE 'mod_opt_general': REQUIRE("test/divers/mod_opt_general.php"); BREAK;


         //Commande
           CASE 'commande_validation': REQUIRE("test/commande/validation_commande.php"); BREAK;
             CASE 'commande_impression': REQUIRE("test/commande/com_print.php");BREAK;
                 CASE 'commande_term': REQUIRE("test/commande/com_term.php");BREAK;
                     CASE 'commande_fact': REQUIRE("test/commande/com_fact.php");BREAK;

      //Client
         
         
         
     //Article
      CASE 'article_supr': REQUIRE("test/article/article_supr.php"); BREAK;

     //USER
     CASE 'login': REQUIRE("test/agent/login.php"); BREAK;
     CASE 'logout': REQUIRE("test/agent/logout.php"); BREAK;
     CASE 'profil_mod': REQUIRE("test/agent/profil_mod.php"); BREAK;
     CASE 'changemp': REQUIRE("test/agent/changemp.php"); BREAK;
     CASE 'changemp2': REQUIRE("test/agent/changemp2.php"); BREAK;
}

?>
